<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
	{:token()}
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Bk_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            {$bkList}
		</div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Device_serial')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-device_serial" data-rule="required" class="form-control" name="row[device_serial]" type="text" value="{$row.device_serial|htmlentities}" placeholder="存在英文字母的设备序列号，字母需为大写">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Device_name')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-device_name" data-rule="required" class="form-control" name="row[device_name]" type="text" value="{$row.device_name|htmlentities}">
        </div>
    </div>
	<div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">设备验证码:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-validate_code" data-rule="" class="form-control" name="row[validate_code]" type="text" value="{$row.validate_code|htmlentities}" placeholder="设备机身上的六位大写字母">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Device_type')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-device_type" data-rule="" class="form-control" name="row[device_type]" type="text" value="{$row.device_type|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Device_version')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-device_version" data-rule="" class="form-control" name="row[device_version]" type="text" value="{$row.device_version|htmlentities}">
        </div>
    </div>
    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-primary btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>
